﻿<Window x:Class="TAO_FORM_GHI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid Margin="10,10,10,10">
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Id" Grid.Row="0"  Grid.Column="0" Margin="0,0,20,0" />
        <Label Content="Name" Grid.Row="1" Grid.Column="0" />
        <TextBox Name="txtid" Grid.Row="0" Grid.Column="1" Margin="0,0,0,10"/>
        <TextBox Name="txtname" Grid.Row="1" Grid.Column="1" Margin="0,0,0,10"/>
        <Button Width="80" Click="Button_Click_1" Content="Ghi" Grid.Row="2" Grid.Column="1" />
        <Button Width="80" Click="Button_Click_2" Content="Thoát" Grid.Row="2" Grid.Column="1" Margin="340,0,0,0" />
    </Grid>
    
</Window>
